<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

/*Route::get('/', function (Request $request) {
    return 'hhh';
});

Route::get('index/test' , ['as'=>'index_test', function (Request $request){
		$route = Route::current();
		$name = Route::currentRouteName();
		$action = Route::currentRouteAction();

		var_dump($route->as);
		var_dump($name);
		var_dump($action);
		return null;
	}]
);

Route::get('index/test/{test}' , ['as'=>'index_test_test',function (Request $request){
		$route = Route::current();
		$name = Route::currentRouteName();
		$action = Route::currentRouteAction();

		var_dump('tset');
		var_dump($route->uri);
		var_dump($name);
		var_dump($action);
		return null;
	}]
);

Auth::routes();

Route::get('/home', 'HomeController@index');*/

/* 导入管理后台路由文件 */
require('admin.php');
